package test;

import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.border.Border;

class ImgPanel extends AutoSizePanel{
	private static final long serialVersionUID = 4097344695528799601L;

	ImgPanel(){
		super();
		//setLayout(new FlowLayout(FlowLayout.CENTER,8,8));
		Border border=BorderFactory.createEmptyBorder(2, 4, 6, 8);
		//this.setBorder(border);
		
	    for (int i = 0; i < 50; i++){
	    	  add(new JButton("Button " + i));
	    }
	    
	}
}


